package com.coding.service;

import com.coding.base.pojo.BaseModel;
import com.coding.base.pojo.PageQueryModel;

/**
 * @auther wangchenghao
 * @date 2020/7/26
 **/
public interface CollectService {
    void checkCollect(int user_id,int source_id,String source_kind,BaseModel baseModel)throws Exception;
    void delete(int user_id,int source_id,String source_kind,BaseModel baseModel)throws Exception;
    void addnewcollectpost(int user_id,int source_id,BaseModel baseModel)throws Exception;
    void getcollectpost(int user_id, PageQueryModel pageQueryModel, BaseModel baseModel)throws Exception;
    void addnewcollectplace(int user_id,int source_id,BaseModel baseModel)throws Exception;
    void getcollectplace(int user_id, PageQueryModel pageQueryModel, BaseModel baseModel)throws Exception;
    void addNewCollectPoem(int user_id,int source_id,BaseModel baseModel)throws Exception;
    void getCollectPoem(int user_id, PageQueryModel pageQueryModel, BaseModel baseModel)throws Exception;
    void getCollectAll(int user_id,PageQueryModel pageQueryModel,BaseModel baseModel)throws Exception;
    void getUserCollect(int user_id,PageQueryModel pageQueryModel,BaseModel baseModel)throws Exception;
    void deleteCollect(int user_id,int source_id,String source_kind,BaseModel baseModel)throws Exception;
}
